home *** CD-ROM | disk | FTP | other *** search
- /* -------------------------------------------------------------------
-
- Project:
-
- Objective-C main source file for the project
-
- This file was automatically generated by OS/2 Project Builder
- COPYRIGHT (C), 1995, Thomas Baier
-
- Unregistered version
-
- Do not edit this file manually!
-
- COPYRIGHT (C), 1995
- ALL RIGHTS RESERVED.
-
- Date: Rev:
- Sat Oct 14 02:06:20 1995
-
-
- Main File
-
- ------------------------------------------------------------------- */
- #include <pm/pm.h>
- #include "Controller.h"
-
- /* --------------------- Function Prototypes ---------------------- */
- int main (int argc, char **argv);
-
- /* ------------------------ Implementation ------------------------ */
- int main (int argc, char **argv)
- {
- id application;
- id interfaceFile;
-
- /* ----------------------- Initialization ----------------------- */
- registerClasses ();
-
- application = [[StdApp alloc] init];
- interfaceFile = [application loadIBFile: "DBView.oib"];
-
- [[interfaceFile objectWithTitle: "Controller"] parse: argv count: argc];
-
- /* ----------------------- Run Application ---------------------- */
- [application run];
-
- /* ------------------------ Free Objects ------------------------ */
- [interfaceFile freeObjects];
- [application free];
- }
-